import request from '@/utils/request'

export function getPromoteList() {
    return request({
        url: '/promotion/all',
        method: 'GET'
    })
}

export function deletePromote(id) {
    return request({
      url: `/promotion/delete/${id}`,
      method: 'DELETE'
    })
  }